package com.yeyks.hotel.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 酒店开发商关系
 * </p>
 *
 * @author yun
 * @since 2019-08-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="HotelDeveloperRelation对象", description="酒店开发商关系")
public class HotelDeveloperRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "酒店账户id")
    @TableField("account_id")
    private Integer accountId;

    @ApiModelProperty(value = "开发商ID(服务商or运营商)")
    @TableField("developer_id")
    private Integer developerId;

    @ApiModelProperty(value = "1:运营商 2：服务商")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "vip类型，1大V，2小V")
    @TableField("vip_type")
    private Integer vipType;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;


    public static final String ID = "id";

    public static final String ACCOUNT_ID = "account_id";

    public static final String DEVELOPER_ID = "developer_id";

    public static final String TYPE = "type";

    public static final String VIP_TYPE = "vip_type";

    public static final String CREATE_TIME = "create_time";

}
